package com.demo.springcloud.service;

/**
 * @author chenyuan
 * @date 2020/12/7 22:49
 */

import org.springframework.stereotype.Component;

/**
 * 用于处理 FallBack
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
	@Override
	public String paymentInfo_OK(Integer id) {
		return "---PaymentFallbackService - FallBack - paymentInfo_OK - /(ㄒoㄒ)/~~";
	}

	@Override
	public String paymentInfo_TimeOut(Integer id) {
		return "---PaymentFallbackService - FallBack - paymentInfo_TimeOut - /(ㄒoㄒ)/~~";
	}
}
